package com.example.shop_car_2208.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.shop_car_2208.entity.CarEntity
import com.example.shop_car_2208.entity.SearchEntity
import com.example.shop_car_2208.entity.SelectResult
import com.example.shop_car_2208.entity.UserEntity

@Database(entities = [UserEntity::class,SearchEntity::class,CarEntity::class], version = 1, exportSchema = false)
abstract class MyDataBase: RoomDatabase() {

    abstract fun getUserDao():UserDao

    abstract fun getSearchDao():SearchDao

    abstract fun getOrderDao():OrderDao
}